package com.iman.sumer.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "drm_quiz_teacher")
public class QuizTeacher implements Serializable{
	@Id
	@GenericGenerator(name = "paymentableGenerator", strategy = "identity")
	@Column(name = "id", unique = true, nullable = false)
	private Long uniqueId;
	
	@Column(name = "quiz_id")
	private Long quizId;
	@Column(name = "teacher_id")
	private Long teacherId;
	@Column(name = "class_id")
	private Long classId;
	@Column(name = "anser_yn")
	private boolean ansered;
	@Column(name = "course_id")
	private Long courseId;
	@Column(name = "quiz_dt")
	private Date quizDate;
	
	public Long getUniqueId() {
		return uniqueId;
	}
	public void setUniqueId(Long uniqueId) {
		this.uniqueId = uniqueId;
	}
	public Long getQuizId() {
		return quizId;
	}
	public void setQuizId(Long quizId) {
		this.quizId = quizId;
	}
	public Long getTeacherId() {
		return teacherId;
	}
	public void setTeacherId(Long teacherId) {
		this.teacherId = teacherId;
	}
	public Long getClassId() {
		return classId;
	}
	public void setClassId(Long classId) {
		this.classId = classId;
	}
	public boolean isAnsered() {
		return ansered;
	}
	public void setAnsered(boolean ansered) {
		this.ansered = ansered;
	}
	public Long getCourseId() {
		return courseId;
	}
	public void setCourseId(Long courseId) {
		this.courseId = courseId;
	}
	public Date getQuizDate() {
		return quizDate;
	}
	public void setQuizDate(Date quizDate) {
		this.quizDate = quizDate;
	}
}
